const send = (channel:string,data: any) => {
    // 发送数据到主进程
    (window as any).electron.ipcRenderer.send(channel, data);
}


export function startSubWindow(appKey: string){
    send('start-sub-window',{appKey})
}